<?php
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'财务管理'=>array($this->pre_module_url.'/memAccount/admin'),
	'保障金设置'=>array($this->pre_module_url.'/depositSet/admin'),
);
?>



<!--排序表单 -->
<?php $form=$this->beginWidget('CActiveForm', array(
//	'action'=>$this->pre_module_url.'/category/update',
	'id'=>'Category-form',
	'method'=>'post',
)); ?>
	 <ul class="main_class">
	 	<li class="main_type">
			<div class="cate_hd mem_bgx">
				<ul class="hd f_r t_c">
					<li class="w_250 f_l">分类名称</li>
					<li class="w_160 f_l">&nbsp;</li>
					<li class="w_100 f_l">&nbsp;</li>
					<li class="w_210 f_l">保证金</li>
					<li class="w_100 f_l">&nbsp;</li>
				</ul>
			</div>
	 	</li>
	 	<div class="cate_th">
	 		<span class="mem_bgx link_btn mr5">
	 			<a class="mem_bgx link_btn click" href="javascript:" onclick="$('#Category-form').submit()" title="">保存</a>
  				<b class="mem_bgx left"></b><b class="mem_bgx right"></b>
  			</span>
	 	</div>
		<?php $this->widget('zii.widgets.CListView', array(
			'dataProvider'=>Category::model()->loadTop(),
			'itemView'=>'_view',
			'emptyText'=>"",
			'template'=>'{items}',
			'enablePagination'=>'false',
			'summaryText'=>'',
			'tagName'=>'ul',
			'htmlOptions'=>array('class'=>'type_list')
		)); 
		?>
	</ul>
<?php $this->endWidget(); ?>

<script>  
$(function () {  
    //列表折叠
    $('.fold').toggle(
    	    function(){
        	    $(this).parent().parent().next('.child').show();
        	},
    	    function(){
       		 	$(this).parent().parent().next('.child').hide();
        	}
     ); 
}); 

</script> 

